Skip to content

RCTReactNativeFactory remove RCTBridge methods and bridge property (#57067)#57067

Closed
christophpurrer wants to merge 1 commit into
facebook:mainfrom
christophpurrer:export-D107417684
Closed

RCTReactNativeFactory remove RCTBridge methods and bridge property (#57067)#57067
christophpurrer wants to merge 1 commit into
facebook:mainfrom
christophpurrer:export-D107417684

Conversation

@christophpurrer
Copy link
Copy Markdown
Contributor

@christophpurrer christophpurrer commented Jun 3, 2026

Summary:

Removes RCTBridge-related functions from RCTReactNativeFactory protocol and default delegate implementation as part of cleaning up legacy architecture APIs.

Removes createBridgeWithDelegate:launchOptions:, createRootViewWithBridge:moduleName:initProps:, and the bridge property. The bridgeAdapter property is preserved as it returns RCTSurfacePresenterBridgeAdapter, not RCTBridge. Updates documentation in RCTAppDelegate.h to reflect the removed overridable methods.

Changelog:

[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header

Differential Revision: D107417684

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 3, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Jun 3, 2026

@christophpurrer has exported this pull request. If you are a Meta employee, you can view the originating Diff in D107417684.

@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels Jun 3, 2026
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Jun 3, 2026
…acebook#57067)

Summary:

Removes `RCTBridge`-related functions from `RCTReactNativeFactory` protocol and default delegate implementation as part of cleaning up legacy architecture APIs.

Removes `createBridgeWithDelegate:launchOptions:`, `createRootViewWithBridge:moduleName:initProps:`, and the `bridge` property. The `bridgeAdapter` property is preserved as it returns `RCTSurfacePresenterBridgeAdapter`, not `RCTBridge`. Updates documentation in `RCTAppDelegate.h` to reflect the removed overridable methods.

## Changelog: 
[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header

Differential Revision: D107417684
@meta-codesync meta-codesync Bot changed the title RCTReactNativeFactory remove RCTBridge methods and bridge property RCTReactNativeFactory remove RCTBridge methods and bridge property (#57067) Jun 3, 2026
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Jun 3, 2026
…acebook#57067)

Summary:

Removes `RCTBridge`-related functions from `RCTReactNativeFactory` protocol and default delegate implementation as part of cleaning up legacy architecture APIs.

Removes `createBridgeWithDelegate:launchOptions:`, `createRootViewWithBridge:moduleName:initProps:`, and the `bridge` property. The `bridgeAdapter` property is preserved as it returns `RCTSurfacePresenterBridgeAdapter`, not `RCTBridge`. Updates documentation in `RCTAppDelegate.h` to reflect the removed overridable methods.

## Changelog: 
[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header

Differential Revision: D107417684
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Jun 3, 2026
…acebook#57067)

Summary:

Removes `RCTBridge`-related functions from `RCTReactNativeFactory` protocol and default delegate implementation as part of cleaning up legacy architecture APIs.

Removes `createBridgeWithDelegate:launchOptions:`, `createRootViewWithBridge:moduleName:initProps:`, and the `bridge` property. The `bridgeAdapter` property is preserved as it returns `RCTSurfacePresenterBridgeAdapter`, not `RCTBridge`. Updates documentation in `RCTAppDelegate.h` to reflect the removed overridable methods.

## Changelog: 
[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header

Differential Revision: D107417684
…acebook#57067)

Summary:

Removes `RCTBridge`-related functions from `RCTReactNativeFactory` protocol and default delegate implementation as part of cleaning up legacy architecture APIs.

Removes `createBridgeWithDelegate:launchOptions:`, `createRootViewWithBridge:moduleName:initProps:`, and the `bridge` property. The `bridgeAdapter` property is preserved as it returns `RCTSurfacePresenterBridgeAdapter`, not `RCTBridge`. Updates documentation in `RCTAppDelegate.h` to reflect the removed overridable methods.

## Changelog: 
[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header

Differential Revision: D107417684
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Jun 4, 2026
…acebook#57067)

Summary:

Removes `RCTBridge`-related functions from `RCTReactNativeFactory` protocol and default delegate implementation as part of cleaning up legacy architecture APIs.

Removes `createBridgeWithDelegate:launchOptions:`, `createRootViewWithBridge:moduleName:initProps:`, and the `bridge` property. The `bridgeAdapter` property is preserved as it returns `RCTSurfacePresenterBridgeAdapter`, not `RCTBridge`. Updates documentation in `RCTAppDelegate.h` to reflect the removed overridable methods.

## Changelog: 
[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header

Differential Revision: D107417684
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Jun 4, 2026
…acebook#57067)

Summary:

Removes `RCTBridge`-related functions from `RCTReactNativeFactory` protocol and default delegate implementation as part of cleaning up legacy architecture APIs.

Removes `createBridgeWithDelegate:launchOptions:`, `createRootViewWithBridge:moduleName:initProps:`, and the `bridge` property. The `bridgeAdapter` property is preserved as it returns `RCTSurfacePresenterBridgeAdapter`, not `RCTBridge`. Updates documentation in `RCTAppDelegate.h` to reflect the removed overridable methods.

## Changelog: 
[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header

Differential Revision: D107417684
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Jun 4, 2026
…acebook#57067)

Summary:

Removes `RCTBridge`-related functions from `RCTReactNativeFactory` protocol and default delegate implementation as part of cleaning up legacy architecture APIs.

Removes `createBridgeWithDelegate:launchOptions:`, `createRootViewWithBridge:moduleName:initProps:`, and the `bridge` property. The `bridgeAdapter` property is preserved as it returns `RCTSurfacePresenterBridgeAdapter`, not `RCTBridge`. Updates documentation in `RCTAppDelegate.h` to reflect the removed overridable methods.

## Changelog: 
[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header

Reviewed By: andrewdacenko

Differential Revision: D107417684
@meta-codesync meta-codesync Bot closed this in 75eaff4 Jun 4, 2026
@facebook-github-tools facebook-github-tools Bot added the Merged This PR has been merged. label Jun 4, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Jun 4, 2026

This pull request has been merged in 75eaff4.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @christophpurrer in 75eaff4

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants